<extend name="Public/base" />

<block name="body">
    <div class="main-title">
        <h2>退换货订单明细</h2>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="panel panel-default">
                <div class="panel-body" style="padding-bottom: 0px">
                    <form action="" method='post'>
                        <div class="form-group"  style="float:left;">
                            <input type="text" class="form-control" name="orderid" size="50px" placeholder="请输入退单号" value='{$tdOrderInfo.tdorderid}'>
                        </div>
                        <div class="form-group"  style="float:left;">
                            &nbsp;&nbsp;<button type="submit" class="btn btn-default">查询</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <form action="{:U('Reject/addRejectOrders')}" method='post' class="form-horizontal">
            <div class="col-md-12">
                <div class="panel panel-default">
                    <div class="panel-heading">原订单信息</div>
                    <div class="panel-body" style="padding-bottom: 0px">
                        <table width="100%" border="0" class="table table-bordered">
                            <tr >
                                <td scope="col" width="6%"><b>原订单号</b></td>
                                <td scope="col" width="10%">
                                    {$tdInfo.oldorderid}
                                </td>
                                <td scope="col" width="6%"><b>收货姓名</b></td>
                                <td scope="col" width="10%">
                                    {$tdInfo.toName}
                                </td>
                            </tr>
                            <tr >
                                <td scope="col" width="6%"><b>收货地址</b></td>
                                <td scope="col" width="15%">
                                    {$tdInfo.toStreet}
                                </td>

                                <td scope="col" width="6%"><b>联系电话</b></td>
                                <td scope="col" width="10%">
                                    {$tdInfo.toPhone}
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            <div class="col-md-7">
                <div class="panel panel-default ">
                    <div class="panel-heading">退单详情&nbsp;</div>
                    <div class="panel-body" style="padding-bottom: 0px">
                        <div class="form-item cf">
                            <div class="controls">
                                <div style="border: #000 1px solid;" class='data-table table-striped'>
                                    <table >
                                        <thead>
                                            <tr>
                                                <th>商品名</th>
                                                <th>退货价</th>
                                            </tr>
                                        </thead>
                                        <tbody id="tbodyspec">
                                            <volist name="tdGoods" id="vs">
                                                <tr>
                                                    <td>{$vs.tdpname}</td>
                                                    <td>{$vs.tdtotalprice}</td>
                                                </tr>
                                            </volist>
                                                <tr>
                                                    <td>退货备注：</td>
                                                    <td>{$tdInfo.tdmark}</td>
                                                </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-12">
                <button class="btn btn-return" onclick="javascript:history.back(-1);return false;"  autocomplete="off">返 回</button>
            </div>
        </form>
    </div>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Reject/rejectOrders')}');
    </script>
</block>
